package com.zc.web.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zc.web.domain.TodayPlan;

import java.util.List;

/**
 * 今日计划Service接口
 *
 * @author zc
 * @date 2025-09-30
 */
public interface ITodayPlanService extends IService<TodayPlan>
{
    /**
     * 查询今日计划
     *
     * @param id 今日计划主键
     * @return 今日计划
     */
    public TodayPlan selectTodayPlanById(Long id);

    /**
     * 查询今日计划列表
     *
     * @param todayPlan 今日计划
     * @return 今日计划集合
     */
    public List<TodayPlan> selectTodayPlanList(TodayPlan todayPlan);

    /**
     * 新增今日计划
     *
     * @param todayPlan 今日计划
     * @return 结果
     */
    public int insertTodayPlan(TodayPlan todayPlan);

    /**
     * 修改今日计划
     *
     * @param todayPlan 今日计划
     * @return 结果
     */
    public int updateTodayPlan(TodayPlan todayPlan);

    /**
     * 批量删除今日计划
     *
     * @param ids 需要删除的今日计划主键集合
     * @return 结果
     */
    public int deleteTodayPlanByIds(Long[] ids);

    /**
     * 删除今日计划信息
     *
     * @param id 今日计划主键
     * @return 结果
     */
    public int deleteTodayPlanById(Long id);

    public void processYesterdayPlanCompletion();
}